import http from "@/api";

/**
 * @name //门禁管理
 */

// 获取门禁组人员列表
export const getEmployeeList = (params = {}) => {
  return http.post(`/rule-group/employee/query`, params, { noLoading: true });
};

// 增加授权门禁
export const addGroup = (params = {}) => {
  return http.post(`/rule-group/employee/add`, params);
};

// 删除已授权门禁
export const delGroup = (params = {}) => {
  return http.post(`/rule-group/employee/delete`, params);
};

// 获取员工卡类型选择列表
export const getEmpcardTypes = (params = {}) => {
  return http.get(`/lookup/empcard/types`, params, { noLoading: true });
};
